import http from "../utils/http"
// 新增收货地址
export const reqAddAddress=(data)=>{
  return http.post('/userAddress/save',data)
}
// 收货地址列表
export const reqAddressList=()=>{
  return http.get('/userAddress/findUserAddress')
}
// 收货地址详细
export const reqAddressInfo=(id)=>{
  return http.get(`/userAddress/${id}`)
}
// 更新收货地址
export const reqUpdateAddress=()=>{
  return http.post('/userAddress/update')
}
// 删除收货地址
export const reqDelAddress=(id)=>{
  return http.get(`/userAddress/delete/${id}`)
}